package org.springblade.modules.repair.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Description 配件申请分页
 * @Author ysq
 * @Date 2024/05/23
 **/
@Data
public class PartsApplyDetailVO {

	@ApiModelProperty(value = "审批id")
	private Long approveId;

	@ApiModelProperty(value = "审批状态：1-待审批，2-通过，3-驳回, 4-撤回,5-退回")
	private Integer approveStatus;

	@ApiModelProperty(value = "审批备注")
    private String remark;

	@ApiModelProperty(value = "工单id")
	private Long planId;

	@ApiModelProperty(value = "电梯id")
	private Long elevatorId;

	@ApiModelProperty(value = "工单类型")
	private Integer typeStatus;

	@ApiModelProperty(value = "创建时间")
	private Date createTime;

	@ApiModelProperty(value = "创建人")
	private String createUser;

	@ApiModelProperty(value = "计划时间")
	private Date planDate;

	@ApiModelProperty(value = "电梯位置")
	private String elevatorAddress;

	@ApiModelProperty(value = "项目名称")
	private String buildingName;

	@ApiModelProperty(value = "状态")
	private Integer status;

	@ApiModelProperty(value = "状态名称")
	private String statusName;

	@ApiModelProperty(value = "配件id")
	private String partsId;

	@ApiModelProperty(value = "配件名称")
	private String partsName;

	@ApiModelProperty(value = "配件数量")
	private Integer partsNum;

	@ApiModelProperty(value = "层站id")
	private String floorStandIds;

	@ApiModelProperty(value = "层站名称")
	private String floorStandNames;

	@ApiModelProperty(value = "部件型号")
	private String partsModel;

	@ApiModelProperty(value = "配件数量")
	private Integer num;

	@ApiModelProperty(value = "部件关联的类目id")
	private Long categoryId;

	@ApiModelProperty(value = "部件关联的skuId")
	private Long skuId;

	@ApiModelProperty(value = "电梯状态： 1-正常,2-停梯'")
	private Integer elevatorStop;

	@ApiModelProperty(value = "配件信息")
	private String partsInfo;

	@ApiModelProperty(value = "sku配件信息")
	private Map<String,Object> skuPartsInfo;

	@ApiModelProperty(value = "1:非常紧急2:紧急3:普通4:较低")
	private Integer emerProcType;

	@ApiModelProperty(value = "关联维修详情")
	private PartsApplyRelationMalDetailVO relationMalDetail;

}
